package io.coderyeah.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.coderyeah.system.domain.Menu;
import io.coderyeah.system.dto.MenuDTO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * (Menu)表数据库访问层
 *
 * @author makejava
 * @since 2022-09-20 09:09:53
 */
@Repository
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> getAllMenus(MenuDTO menuDTO);

    long getCounts(MenuDTO menuDTO);
}

